<?php use_javascript('jquery.jqplot.min.js'); ?>
<?php use_stylesheet('jquery.jqplot.min.css'); ?>

<h1><?php echo __('Dashboard'); ?></h1>

<div class="span-12">
  <h3><?php echo __('My projects'); ?></h3>
  <?php if (! count($projects)): ?>
    <p><?php echo __('No project found'); ?></p>
  <?php else: ?>
    <ul>
      <?php foreach ($projects as $project): ?>
        <li><?php echo link_to($project, '@switch_project_id?id=' . $project->getId()); ?></li>
      <?php endforeach; ?>
    </ul>
  <?php endif; ?>
</div>